#ifndef __XRJ_MUTEX_LOCK_H__
#define 	__XRJ_MUTEX_LOCK_H__

#include "xrj_common_datatype.h"
#include "ucos_ii.h"
#include "os_cfg.h"
typedef struct XRJ_IOT_MUTEX
{
	OS_EVENT *osEvent;
}XRJ_IOT_MUTEX_S;



INT32	XRJ_mutex_init(XRJ_IOT_MUTEX_S *mutex );
INT32	XRJ_mutex_lock(XRJ_IOT_MUTEX_S *mutex );
INT32	XRJ_mutex_unlock(XRJ_IOT_MUTEX_S *mutex );
INT32 	XRJ_mutex_destory(XRJ_IOT_MUTEX_S *mutex );


#endif
